package com.ngu.sys.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ngu.sys.user.model.TSysUser;
import com.ngu.util.AjaxResponse;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpSession;

/**
* @Description:
* @Author:         hsj
* @CreateDate:     2020/3/1 13:26
*/
public interface TSysUserService extends IService<TSysUser> {

    //登录
    AjaxResponse login(TSysUser tSysUser, HttpSession session);

    //新增
    Integer insertSysUser(TSysUser tSysUser);

    //修改
    Integer updateSysUser(TSysUser tSysUser);

    //删除
    Integer deleteById(Long id);


}
